package com.xinzhi.controller;

import com.xinzhi.entity.Result;
import com.xinzhi.service.IPointInfoService;
import com.xinzhi.service.IUserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;
import java.math.BigDecimal;

@Controller
public class PointInfoController {
    @Autowired
    IPointInfoService iPointInfoService;

    @RequestMapping("/place")
    @ResponseBody
    public Result recharge (){
        return iPointInfoService.getPoint();
    }
}
